package ltd.smallwang.infrastructure.task.db;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ltd.smallwang.infrastructure.task.db.model.TaskExecuteRecordPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author justd
 * @description 功能描述
 * @since 2024-05-01 01:03
 **/
@Mapper
public interface TaskExecuteRecordMapper extends BaseMapper<TaskExecuteRecordPo> {

  List<TaskExecuteRecordPo> queryTaskExecuteRecords(@Param("userId") Long userId,
      @Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);
}
